package com.edu.atams.service;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.edu.atams.common.dto.VotingStatistics;
import com.edu.atams.entity.Voting;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.poi.ss.formula.functions.T;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author czj666
 * @since 2021-10-09
 */
public interface VotingService extends IService<Voting> {

    void saveInfo(Voting voting);

    Page<VotingStatistics> pageVotingDto(IPage page, Wrapper wrapper);

}
